90309: xfi:fact-explicit-dimension-value
Documentation
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Herm Fischer |
|
fischer@markv.com | 06-02-2008 at 12:55:00 |
References
Test Case Variations
V-01
Location dimension for Mount Kilimanjaro
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V01)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Kilimanjaro'], QName('http://xbrl.org/formula/conformance/example','t:Location') )
(against file V01)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:Tanzania')
V-01a
Location default dimension for Vinson Massif
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V01a)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Vinson Massif'], QName('http://xbrl.org/formula/conformance/example','t:Location') )
(against file V01a)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:Antarctica')
V-02
Location dimension for Peak concept Aurora Borealis (whose context lacks the location dimension)
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V02)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Aurora Borealis'], QName('http://xbrl.org/formula/conformance/example','t:Location') )
(against file V02)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:Antarctica')
V-03
Location dimension for AtmosphericPhenomenon concept with open hypercube 'leaks' global dimension-default value
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V03)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:AtmosphericPhenomenon[./text() eq 'Aurora Borealis'], QName('http://xbrl.org/formula/conformance/example','t:Location') )
(against file V03)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:Antarctica')
V-03a
Location dimension for AtmosphericPhenomenon, closed hypercube, no value for absent dimension
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- linkbase: close-the-atmosphere-definition.xml
- instance: closed-atmosphere-instance1.xml (DTS Discovery starting point) (ID=V03a)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:AtmosphericPhenomenon[./text() eq 'Aurora Borealis'], QName('http://xbrl.org/formula/conformance/example','t:Location') )
(against file V03a)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:Antarctica')
V-04
Error of concept argument which is not a dimension
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V04)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Everest'], QName('http://xbrl.org/formula/conformance/example','t:Mars') )
(against file V04)
Outputs
- Error code: xfie:invalidExplicitDimensionQName
V-05
Error of non-XBRL element argument as dimension argument
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V05)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Everest'], QName('http://xbrl.org/formula/conformance/example','t:nonXbrlElement') )
(against file V05)
Outputs
- Error code: xfie:invalidExplicitDimensionQName
V-06
Raises an error for an attribute declaration argument
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V06)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Everest'], QName('http://xbrl.org/formula/conformance/example','t:anAttribute') )
(against file V06)
Outputs
- Error code: xfie:invalidExplicitDimensionQName
V-07
Raises an error for an xbrli namespace'ed argument
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V07)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Everest'], QName('http://xbrl.org/formula/conformance/example','xbrli:item') )
(against file V07)
Outputs
- Error code: xfie:invalidExplicitDimensionQName
V-08
Dimension can be located in either segment or scenario, for this variation appears in the segment, to test that function is
looking in only desired location for value.
Documentation
Inputs
- schema: bi-locational-dim-concepts.xsd
- linkbase: bi-locational-dim-definition.xml
- instance: bi-locational-seg-explicit-instance.xml (DTS Discovery starting point) (ID=V08)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:PriItem1[1], QName('http://xbrl.org/formula/conformance/example','t:ExplDim1') )
(against file V08)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:ExplDim1Mbr1')
V-09
Dimension can be located in either segment or scenario but for this variation appears in the scenario instead of segment,
to test that function is looking in only desired location for value.
Documentation
Inputs
- schema: bi-locational-dim-concepts.xsd
- linkbase: bi-locational-dim-definition.xml
- instance: bi-locational-scen-explicit-instance.xml (DTS Discovery starting point) (ID=V09)
-
Function Call:
xfi:fact-explicit-dimension-value( /xbrli:xbrl/t:PriItem1[1], QName('http://xbrl.org/formula/conformance/example','t:ExplDim1') )
(against file V09)
Outputs
-
Result test:
$result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:ExplDim1Mbr1')
Revisions
Name | On | Details |
---|---|---|
Herm Fischer | 06-02-2008 at 12:55:00 |
|
Herm Fischer | 16-03-2008 at 08:30:00 |
|
Herm Fischer | 22-05-2008 at 08:30:00 |
|
Herm Fischer | 01-09-2008 at 00:00:00 |
|
Herm Fischer | 16-11-2008 at 00:00:00 |
|
Herm Fischer | 28-12-2010 at 00:00:00 |
|
Herm Fischer | 01-03-2011 at 16:00:00 |
|